package com.framework.SystemPage
{
	import com.framework.*;
	import com.framework.BasicButton;
	import com.framework.BasicPage;
	
	import flash.events.*;
	import flash.events.Event;
	
	public class HelpPage extends BasicPage
	{
		public var bg:resHelpBg;
		public var btn:BasicButton;
		public function HelpPage()
		{
			super();
		}
		
		override public function init(e:Event):void{
			bg = new resHelpBg;
			btn = addButton(ButtonInfo.BUTTON_BACK,0,96,320);
			btn.addChild(new mBack);
			btn.addEventListener(MouseEvent.CLICK,BackBtnListener);
			
			
			this.addChild(bg);
			this.addChild(btn);

		}
		
		public function BackBtnListener(e:MouseEvent):void
		{
			dispatchEvent(new CustomEventButton(CustomEventButton.BUTTON_ID,ButtonInfo.BUTTON_MAIN,0));
			
		}
	}
}